home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / AtomMgr.h.z / AtomMgr.h
C/C++ Source or Header  |  2002-10-15  |  1KB  |  47 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /*   $XConsortium: AtomMgr.h /main/10 1995/07/14 10:10:31 drk $ */
  12. /*
  13. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  14. #ifndef _XmAtomMgr_h
  15. #define _XmAtomMgr_h
  16.  
  17. #include <Xm/Xm.h>
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23. /* 2.1.10 change CDExc23333*/
  24. /* X11r5' XInternAtom equivalent */
  25. extern Atom XmInternAtom(
  26.                 Display *display,
  27.                 String name,
  28. #if NeedWidePrototypes
  29.                 int only_if_exists );
  30. #else
  31.                 Boolean only_if_exists );
  32. #endif /* NeedWidePrototypes */
  33.  
  34. /* X11r5's XGetAtomName equivalent */
  35. extern String XmGetAtomName( Display *display, Atom atom);    
  36.  
  37. #ifdef __cplusplus
  38. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  39. #endif
  40.  
  41. /* This macro name is confusing, and of unknown benefit.
  42.  * #define XmNameToAtom(display, atom) \
  43.  *      XmGetAtomName(display, atom)
  44.  */
  45.  
  46. #endif /* _XmAtomMgr_h */
  47.